-- GENERATED SPELL FOR [Fledgling Chimaera] --


function spell0_4031(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(3396,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4031', 31500, 1)
end

function Sorts_4031(pUnit, Event)
local choix_sorts_4031 = math.random(0, 0)
if choix_sorts_4031 == 0 then
pUnit:RegisterEvent('spell0_4031', 1, 1)
end
end

function mob4031_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4031', math.random(1500, 3000), 1)
end

function mob4031_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4031_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4031_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4031, 1, 'mob4031_Action')
RegisterUnitEvent(4031, 2, 'mob4031_Leave')
RegisterUnitEvent(4031, 3, 'mob4031_Kill')
RegisterUnitEvent(4031, 4, 'mob4031_Die')
